package com.baike.service;

import com.baike.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author x_FG
 * @since 2021-10-29
 */
public interface IRoleService extends IService<Role> {

    boolean insertRoleInfo(Role role, Integer[] menuIds);

    Role getRoleById(Integer id);

    boolean updateRoleInfo(Role role, Integer[] menuIds);

    boolean deleteRoleMenu(Integer id);
}
